using XNgine.ObjectManagement.RenderModels;

namespace XNgine.ObjectManagement.Objects
{
    public abstract class ModeledObject : IRenderable
    {
        public string Name { get; private set; }

        public IRenderModel RenderModel { get; private set; }

        protected ModeledObject(string name, string modelPath)
        {
            Name = name;
            RenderModel = new ModelRenderer(modelPath);
        }
    }
}